package com.martini.admin.request.register;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author martini at 2021/10/11 9:15
 */
@Data
@Accessors(chain = true)
public class RegReq {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "昵称不能为空")
    private String nickname;
    @NotBlank(message = "密码不能为空")
    private String password;
}
